package com.sunfeng.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Zk
 *
 * @author sunfeng
 * @date 2021/03/31 11:14
 * @EnableDiscoveryClient //该注解用于向使用consul或者zookeeper作为注册中心时注册服务
 **/
@SpringBootApplication
@EnableDiscoveryClient
public class PaymentMain8004 {
    public static void main(String[] args) {
        SpringApplication.run(PaymentMain8004.class, args);
    }

}
